<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <?php include_http_metas() ?>
        <?php include_metas() ?>
        <?php include_title() ?>
        <link rel="shortcut icon" href="/favicon.ico" />
        <?php include_stylesheets() ?>
        <?php include_javascripts() ?>
    </head>
    <body>

        <div id="header">
            ERP
        </div>


        <div id="menu">
            <?php if ($sf_user->isAuthenticated()): ?>
                <ul id="navi">
                    <li><?php echo link_to('Administracion de clientes', 'cliente') ?></li>
                    <li><?php echo link_to('Administracion de cuentas corrientes', 'cuenta_corriente') ?></li>
                    <li><?php echo link_to('Administracion de pagos', 'pago') ?></li>
                    <li><?php echo link_to('Cerrar Sesion', 'sf_guard_signout') ?></li>
                </ul>
            <?php endif ?>
        </div>

        <div id="content">
            <?php echo $sf_content ?>
        </div>

        <div id="footer">
            <h5>ERP</h5>
        </div>
    </body>
</html>
